package com.hyacinth.forumbite.service;

import com.hyacinth.forumbite.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author: Yun
 * @Date: 2025/5/25
 */
public interface ArticleReplyService {

    /**
     * 帖子回复
     *
     * @param articleReply
     */
    @Transactional
    void create(ArticleReply articleReply);


    /**
     * 根据帖子id查询
     *
     * @param id
     * @return
     */
    List<ArticleReply> selectArticleReplyList(Long id);
}
